package com.w3schools.www.webservices;

import java.net.URL;

/**
 * Autor: Juan
 * Fecha: 27/06/2014
 * 
 */

public class Cliente {
	
	public static void main(String[] args) {
		try {
		TempConvert w = new TempConvertLocator();
		TempConvertSoap ws = new TempConvertSoapStub(new URL(w.getTempConvertSoap()),w);
		String zip = "0";
		System.out.println("Temperatura: "+resp.getTemperature());
		} catch (AxisFault e) {
		e.printStackTrace();
		} catch (RemoteException e) {
		e.printStackTrace();
		} catch (MalformedURLException e) {
		e.printStackTrace();
		}
		}

}

